package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.AssetLifeCycleDTO;

public interface AssetLifeCycleService {

    List<AssetLifeCycleDTO> index(Searchable searchable);

    Page<AssetLifeCycleDTO> search(Pageable pageable, Searchable searchable);

    AssetLifeCycleDTO create(AssetLifeCycleDTO dto);

    List<AssetLifeCycleDTO> batchCreate(List<AssetLifeCycleDTO> dtos);

    List<AssetLifeCycleDTO> detailByCode(String code, final UserBean user);
}
